home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 2180 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: merle.acns.nwu.edu!judd
  2. From: judd@merle.acns.nwu.edu (Stephen Judd)
  3. Newsgroups: comp.sys.cbm
  4. Subject: Re: Commodore Arithmetic
  5. Date: 9 Feb 1996 06:22:26 GMT
  6. Organization: Northwestern University, Evanston IL
  7. Message-ID: <4fep72$b44@news.acns.nwu.edu>
  8. References: <96020719151143766@qcs.org> <4fbodv$aam@bcarh8ab.bnr.ca>
  9. Reply-To: sjudd@nwu.edu (Stephen Judd)
  10. NNTP-Posting-Host: merle.acns.nwu.edu
  11.  
  12. In article <4fbodv$aam@bcarh8ab.bnr.ca>,
  13. Markus Wandel <markus@pinetree.org> wrote:
  14. >Having discovered BCD arithmetic (in a TRS-80 Model 100 portable computer)
  15.  
  16. >And not that much storage wastage either.
  17.  
  18. I must disagree.  Four bits per digit means that in eight bits you can
  19. represent 100 BCD numbers, which is of course down from 256 binary numbers.
  20. Two bytes can represent 10000 numbers, compared with 65536 binary numbers.
  21. So in just two bytes I am already down by a factor of six.
  22.  
  23. But, hey, I've got an open mind: so, what kinds of things have you (or
  24. anyone else) found BCD useful for?  I.e. something that would be a real
  25. drag to do in binary.
  26.  
  27.     evetS-
  28.  
  29. >Markus Wandel     Ottawa Ont. Canada     (613) 592-1225
  30.